package com.dxy.hms.mapper;

import com.dxy.hms.model.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author dxy
 * @since 2024-09-24
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    String getMaxIdByParentId(String parentId);

    void delById(String menuId);

    void delChildMenu(String menuId);

}
